package com.kitty.action;

import javax.servlet.http.*;

import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.multiaction.MultiActionController;

public class SubMultiActionController extends MultiActionController {
	public ModelAndView displayCatalog(HttpServletRequest req, HttpServletResponse resp) {
		System.out.println("SubMultiActionController");
		 ModelAndView mav = new ModelAndView("welcome");
	        mav.addObject("message", "SubMultiActionController");
	        
	        return mav;  
	}
	
	public ModelAndView handleRequestInternal2(HttpServletRequest arg0,
			HttpServletResponse arg1) throws Exception {
		System.out.println("123");
		
		 ModelAndView mav = new ModelAndView("hello");
	        mav.addObject("message", "Hello World!");
	        return mav;  
	}

}
